package com.alicp.jetcache.embedded;

/**
 * @author : wei.zhang
 * @Project: jetcache
 * @Package com.alicp.jetcache.embedded
 * @Description: TODO
 * @date Date : 2022年01月10日 15:10
 */
public class GuavaCacheBuilder<T extends EmbeddedCacheBuilder<T>> extends EmbeddedCacheBuilder<T>{
    public static class GuavaCacheCacheBuilderImpl extends CaffeineCacheBuilder<GuavaCacheBuilder.GuavaCacheCacheBuilderImpl> {
    }

    public static GuavaCacheBuilder.GuavaCacheCacheBuilderImpl createGuavaCacheBuilder() {
        return new GuavaCacheBuilder.GuavaCacheCacheBuilderImpl();
    }

    protected GuavaCacheBuilder() {
        buildFunc((c) -> new GuavaCache((EmbeddedCacheConfig) c));
    }


}
